package one.dao;

import java.util.List;
import java.util.Map;

import one.domain.Student;
import one.domain.Studentandcurriculum;

public interface StudentDao {
	
	public Student findstu(String sid);
	public void uppwd(Student stu);
	public List<Student> findstubyname(String sname);
	public List<Student> findstubymajor(String smajor);
	public List<Student> findallstu();
	public void insertstu(Student stu);
	void updatestu(Student stu);
	void stuaddcur ( Studentandcurriculum stucur);
	Studentandcurriculum findmyselect (Studentandcurriculum stucur);
	//分页
	List<Student> pagefindstu(Map map);
	int stutotalCount();
	void delstu(String sid);
}
